package top.lshaci.learning.springboot.jpaquerydsl.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import top.lshaci.learning.springboot.jpaquerydsl.base.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Province
 *
 * @author liangxu
 */
@Data
@Entity
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Table(name = "t_province")
public class Province extends BaseEntity {

    /**
     * 省名称
     */
    private String name;
}
